﻿<UserControl x:Class="CPUMeter.Magnet"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="46" Width="77" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" FontFamily="DS-Digital">
	<UserControl.Resources>
		<DrawingBrush x:Key="DrawingBrush1" Viewbox="0,0,7,7" ViewboxUnits="Absolute" Viewport="0,0,8,1.5" ViewportUnits="Absolute" TileMode="Tile" >
			<DrawingBrush.Drawing>
				<DrawingGroup>
					<GeometryDrawing>
						<GeometryDrawing.Geometry>
							<RectangleGeometry Rect="0.5,0.5,7,0"/>
						</GeometryDrawing.Geometry>
						<GeometryDrawing.Pen>
							<Pen Brush="#5500FF06" Thickness="1"/>
						</GeometryDrawing.Pen>
					</GeometryDrawing>
				</DrawingGroup>
			</DrawingBrush.Drawing>
		</DrawingBrush>
	</UserControl.Resources>
	<Grid x:Name="_front" Width="77" Height="46">
		<Image Source="Images\Onyx\background.png" Stretch="Fill" x:Name="_bgImage"/>
		<Grid ClipToBounds="False" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="7,1,0,0" Height="Auto" Width="45.547" x:Name="grid">
			<Label x:Name="_cpuUsage" FontSize="34" Foreground="#FFFFFFFF" Width="Auto" Height="Auto" d:LayoutOverrides="Width, Height" FontWeight="Bold" Padding="5,0,5,0">
				<!--<Label.BitmapEffect>
					<OuterGlowBitmapEffect
						GlowColor="White"
						GlowSize="3"
						Opacity="0.4"
	                />
					</Label.BitmapEffect>-->
			</Label>
			<Label x:Name="_cpuUsage_shadow" FontSize="34" Foreground="#FFFFFFFF" Content="88" Width="Auto" Height="Auto" d:LayoutOverrides="Width, Height" Opacity="0.1" FontWeight="Bold" Padding="5,0,5,0"/>
			<Label FontFamily="Calibri" FontSize="9" FontWeight="Normal" Foreground="#FFFFFFFF" Padding="0,5,5,0" x:Name="_ram" VerticalAlignment="Bottom" Height="19.767" HorizontalAlignment="Right" Margin="0,0,0,-2"/>				
		</Grid>
		<Image Margin="0,0,0,0" VerticalAlignment="Top" Height="14" Source="Images\Reflection.png" Stretch="Fill" Width="71"/>
		<Border Margin="0,7.623,8.043,8.389" Opacity="0.5" Width="11.636" HorizontalAlignment="Right">
			<Border.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop x:Name="_gaugeGradient1" Color="#006A1616" Offset="0"/>
					<GradientStop x:Name="_gaugeGradient2" Color="#00D90404" Offset="1"/>
				</LinearGradientBrush>
			</Border.Background>
			<!--<Border.BitmapEffect>
					<OuterGlowBitmapEffect
						GlowColor="{Binding Path=Color, ElementName=_gaugeGradient1, Mode=Default}"
						GlowSize="6"
                />
				</Border.BitmapEffect>-->
		</Border>
	</Grid>
		
</UserControl>
